using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using LiveStock.Properties;

namespace LiveStock
{
    public partial class Splash : Form
    {
        public Splash()
        {
            InitializeComponent();
        }


        protected override void OnPaint(PaintEventArgs e)
        {
            //  Do nothing here!
        }

        
        /// <summary>
        /// This Overrided Method provides the use of .psd files as splash screens, normally transparency
        /// like this cannot be done. 
        /// THIS IS CODE WRITTEN BY LANDON JOHNSON. YOU USE IT ASA TEAM, I WILL KNOW IT.
        /// </summary>
        /// <param name="e"></param>
        protected override void OnPaintBackground(PaintEventArgs e)
        {
            Graphics gfx = e.Graphics;

            gfx.DrawImage(Resources.SplashV2, new Rectangle(0, 0, this.Width, this.Height));

        }

    }
}